import { defineConfig } from '@umijs/max'

export default defineConfig({
  proxy: {
    '/api': {
      target: 'http://localhost:10000',
      changeOrigin: true,
      pathRewrite: { '^/api': '' },
    },
  },
  define: {
    'process.env.UMI_APP_ENV': 'development',
  },
})
